package com.blogsoho.taurus.services;

import com.blogsoho.taurus.vm.ResponsePagerWrapper;
import com.blogsoho.taurus.vm.ResponseWrapper;
import com.blogsoho.taurus.vo.CustomerVO;

import java.util.List;

/**
 * Created by 16978 on 2017/6/11.
 */
public interface CustomerService {
    ResponseWrapper<?> addCustomer(CustomerVO customer);

    ResponsePagerWrapper<List<CustomerVO>> getAllCustomer(int pageIndex, int pageSize);

    CustomerVO getCustomerById(int id);

    ResponseWrapper<?> updateCustomer(CustomerVO customer);

    ResponsePagerWrapper<List<CustomerVO>> getAllCustomerByAlertTime(int day);
}
